// map-get获取属性名对应的属性值
// map 数据地图 (key:value,....)
$font-weights: (
    "regular": 400, 
    "medium": 500, 
    "bold": 700
);

// @debug map-get($font-weights, "medium"); // 500
// @debug map-get($font-weights, "extra-bold"); // null
 


$theme-colors: (
    "success": #28a745,
    "info": #17a2b8,
    "warning": #ffc107
   );

.alert {
    background-color: map-get($theme-colors, "warning");
}
/* 
.alert{
    background-color: #ffc107;
} */